#!/bin/bash

# This optional part of suptime.sh script.
# Script works as a daemon with /etc/init.d/suptime and runs suptime.sh script in chosen time intervals.
# Anyway it can be run on it own, without /etc/init.d/suptime.

# Change script directory and image update interval.
# Do not put slash at the end of directory.
DIR=/home/sufixx/progs/suptime/current
INTERVAL=1200

while [ 1 == 1 ]; do

	$DIR/suptime.sh > /dev/null
	sleep $INTERVAL;

done

